<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    <ul>
      
    </ul>
  </div>
  <script src="./vue.js"></script>
  <script src="./axios.js"></script>
  <script>
    // https://api.it120.cc/conner
    const vm = new Vue({
      el: '#app',
      data: {
        arts: []
      },
      methods: {
        fetchArtLists(){
          axios.post('https://api.it120.cc/conner/cms/news/list/v2', {
            page: 1,
            pageSize: 10
          },{
            headers: {
              token: 'dwfegrthyju8'
            }
          }).then(res => {
            console.log(res);
          })
        }
      },
      created(){
        this.fetchArtLists();
      }
    })
  </script>
</body>
</html>